package com.orchid.forum.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.orchid.common.dao.IBaseDao;
import com.orchid.forum.domain.Category;
import com.orchid.forum.domain.CategoryQuery;

@Repository
public interface CategoryDao extends IBaseDao<Category, Integer> {

	List<Category> query(int pn, int pageSize, CategoryQuery command);

    int countQuery(CategoryQuery command);
}
